package com.hsit.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.hsit.dao.EasyUiTree;
import com.hsit.dao.ExtTree;
import com.hsit.dao.TreeDao;

@Service
public class TreeService {

	@Autowired
	private  TreeDao treeDao;
	

	public List pp2(){
		return treeDao.pp();
	}
	public List pp3(int id){
		return treeDao.pp3(id);
	}
	public List parentList(){
		return treeDao.parentList();
	}
	public List<EasyUiTree> childrenList(int id){
		return treeDao.childrenList(id);
	}
	public List parentList2(){
		return treeDao.parentList2();
	}
	public List<ExtTree> childrenList2(int id){
		return treeDao.childrenList2(id);
	}
	
	public String pp(){
		return "qqq";
	}
}
